﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<!-- Resource dictionary entries should be defined here. -->
	<Style x:Key="ButtonFocusVisual">
		<Setter Property="Control.Template">
			<Setter.Value>
				<ControlTemplate>
					<Rectangle Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="2" SnapsToDevicePixels="true"/>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
		<GradientStop Color="#F3F3F3" Offset="0"/>
		<GradientStop Color="#EBEBEB" Offset="0.5"/>
		<GradientStop Color="#DDDDDD" Offset="0.5"/>
		<GradientStop Color="#CDCDCD" Offset="1"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/>
	<Style x:Key="NextButtonStyle" TargetType="{x:Type Button}">
		<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
		<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
		<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Border BorderThickness="1" CornerRadius="5">
						<Border.Background>
							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
								<GradientStop Color="#FF808278" Offset="1"/>
								<GradientStop Color="#FF96988E"/>
								<GradientStop Color="#FF808278" Offset="0.501"/>
								<GradientStop Color="#FF96988E" Offset="0.5"/>
							</LinearGradientBrush>
						</Border.Background>
						<Border.Effect>
							<DropShadowEffect BlurRadius="6" Direction="272" Opacity="0.545" ShadowDepth="3"/>
						</Border.Effect>
						<Grid Width="Auto" Height="Auto">
							<Path Fill="#FF50514B" Stretch="Fill" HorizontalAlignment="Right" Width="25.333" Data="M22.666826,-9.4368957E-15 L42.999966,2.857029E-16 C45.874985,2.857029E-16 48,1.6875 48,4.6875 L48,28.5625 C48,31.25 45.749985,33 43.874972,33 L22.666826,33 C22.666826,33 36.35424,16.520833 36.35424,16.520833 36.375073,16.520833 22.666826,-9.4368957E-15 22.666826,-9.4368957E-15 z"/>
							<Path Fill="#FF50514B" Stretch="Fill" HorizontalAlignment="Right" Width="16.625" Data="M23.209181,0.41669852 L26.084162,0.41669852 C26.084162,0.41669852 39.833385,16.583333 39.833385,16.583333 39.833385,16.583333 25.917497,33.416699 25.917497,33.416699 L23.209181,33.416699 C23.209181,33.416699 36.35424,16.520833 36.35424,16.520833 36.375073,16.520833 23.209181,0.41669852 23.209181,0.41669852 z" Margin="0,0,18.667,0"/>
							<ContentPresenter Margin="20,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center"/>
						</Grid>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="ToggleButton.IsChecked" Value="true"/>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="#ADADAD"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="StandardButtonStyle" TargetType="{x:Type Button}">
		<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
		<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
		<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<Border BorderThickness="1" CornerRadius="5">
						<Border.Background>
							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
								<GradientStop Color="#FF808278" Offset="1"/>
								<GradientStop Color="#FF96988E"/>
								<GradientStop Color="#FF808278" Offset="0.501"/>
								<GradientStop Color="#FF96988E" Offset="0.5"/>
							</LinearGradientBrush>
						</Border.Background>
						<Border.Effect>
							<DropShadowEffect BlurRadius="6" Direction="272" Opacity="0.545" ShadowDepth="3"/>
						</Border.Effect>
						<Grid Width="Auto" Height="Auto">
							<Path Fill="#FF50514B" Stretch="Fill" HorizontalAlignment="Right" Width="25.333" Data="M22.666826,-9.4368957E-15 L42.999966,2.857029E-16 C45.874985,2.857029E-16 48,1.6875 48,4.6875 L48,28.5625 C48,31.25 45.749985,33 43.874972,33 L22.666826,33 C22.666826,33 36.35424,16.520833 36.35424,16.520833 36.375073,16.520833 22.666826,-9.4368957E-15 22.666826,-9.4368957E-15 z" Visibility="Collapsed"/>
							<Path Fill="#FF50514B" Stretch="Fill" HorizontalAlignment="Right" Width="16.625" Data="M23.209181,0.41669852 L26.084162,0.41669852 C26.084162,0.41669852 39.833385,16.583333 39.833385,16.583333 39.833385,16.583333 25.917497,33.416699 25.917497,33.416699 L23.209181,33.416699 C23.209181,33.416699 36.35424,16.520833 36.35424,16.520833 36.375073,16.520833 23.209181,0.41669852 23.209181,0.41669852 z" Margin="0,0,18.667,0" Visibility="Collapsed"/>
							<ContentPresenter HorizontalAlignment="Center" Margin="0" VerticalAlignment="Center"/>
						</Grid>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="ToggleButton.IsChecked" Value="true"/>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="#ADADAD"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
</ResourceDictionary>